import style from './index.module.scss'
import FormCom from './component/FormCom'
import { useIntl } from 'react-intl'
import LangDropdown from '@/components/LangDropdown'

const Login: React.FC = () => {
  const intl = useIntl()
  return (
    <div className={style.container}>
      <h1  > {intl.formatMessage({ id: 'homePage.siteView.title' })} </h1>
      <div className={style.chooseLang}>
        {/* 语言切换 */}
        <LangDropdown />
      </div>
      <FormCom />
    </div>
  )
}
export default Login
